﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Model
{
    public class Product : Interface.IProduct
    {
        public int Id { get; set; }
        public string Name { get; set; }
        public string Status { get; set; }
        public string LaunchDate { get; set; }
        public string AvailabilityLevel { get; set; }
        public decimal Price { get; set; }
        public Category Category { get; set; }
        public Brand Brand { get; set; }

        public int CategoryId { get; set; }
        public int BrandCode { get; set; }

        public List<ProductDetail> ProductDetails { get; set; }

        public Product() { }
        public Product(int id, string status, string launchDate, string available, decimal price, Category cat, Brand brand)
        {
            this.Id = id;
            this.Status = status;
            this.LaunchDate = launchDate;
            this.Price = price;
            this.Category = cat;
            this.Brand = brand;
            this.AvailabilityLevel = available;
        }
    }
}